package dao;

import java.util.HashSet;
import java.util.Set;

/**
 * TbCourse entity. @author MyEclipse Persistence Tools
 */

public class TbCourse implements java.io.Serializable {

	// Fields

	private Integer courseId;
	private String courseName;
	private Set tbPapers = new HashSet(0);
	private Set tbQuestions = new HashSet(0);

	// Constructors

	/** default constructor */
	public TbCourse() {
	}

	/** minimal constructor */
	public TbCourse(String courseName) {
		this.courseName = courseName;
	}

	/** full constructor */
	public TbCourse(String courseName, Set tbPapers, Set tbQuestions) {
		this.courseName = courseName;
		this.tbPapers = tbPapers;
		this.tbQuestions = tbQuestions;
	}

	// Property accessors

	public Integer getCourseId() {
		return this.courseId;
	}

	public void setCourseId(Integer courseId) {
		this.courseId = courseId;
	}

	public String getCourseName() {
		return this.courseName;
	}

	public void setCourseName(String courseName) {
		this.courseName = courseName;
	}

	public Set getTbPapers() {
		return this.tbPapers;
	}

	public void setTbPapers(Set tbPapers) {
		this.tbPapers = tbPapers;
	}

	public Set getTbQuestions() {
		return this.tbQuestions;
	}

	public void setTbQuestions(Set tbQuestions) {
		this.tbQuestions = tbQuestions;
	}

}